<?php

namespace App\Http\Controllers\Mobile\Index;
use App\Models\Company\CompanyBasic;
use Illuminate\Http\Request;
use Style;

class CompanyBasicController extends CommonController{
    /**
     * @param Request $request
     * @return mixed
     */
    function setMap(Request $request){
        $com_id = idDecryption($request->com_id);
        $companyBasic = CompanyBasic::where('id','=',$com_id)->first(['id','longitude','latitude','coordinate_address']);
        return Style::view('mobile.index.setMap',compact('companyBasic'));
    }
}